package com.huike.business.service;

import com.huike.business.domain.TbBusinessTrackRecord;
import com.huike.business.domain.vo.BusinessTrackVo;

import java.util.List;

/**
 * 商机跟进记录Service接口
 * @date 2021-04-28
 */
public interface ITbBusinessTrackRecordService {


    /**
     * 新增商机跟进记录
     * @param businessTrackVo 数据
     */
    void insertBusinessRecord(BusinessTrackVo businessTrackVo);

    /**
     * 查询所有跟进记录
     * @param id 商机ID
     * @return 跟进记录
     */
    List<TbBusinessTrackRecord> findAll(Long id);

    /**
     * 退回公海
     * @param id   商机id
     * @param reason  原因type值
     */
    void fuckingGo(Long id, String reason);
}
